part of 'quotation_record_cubit.dart';

sealed class QuotationRecordState extends Equatable {
  const QuotationRecordState();
}

final class QuotationRecordInitial extends QuotationRecordState {
  @override
  List<Object> get props => [];
}


final class QuotationRecordDataLoading extends QuotationRecordState {
  @override
  List<Object> get props => [];
}

final class QuotationRecordDataSuccessState extends QuotationRecordState {
  final List<QuotationRecordBean> quotationRecordData;
  QuotationRecordDataSuccessState({required this.quotationRecordData});
  @override
  List<Object> get props => [quotationRecordData];
}

final class QuotationRecordDataFailureState extends QuotationRecordState {
  final String message;
  QuotationRecordDataFailureState({required this.message});
  @override
  List<Object> get props => [message];
  }




  final class QuotationRecordDeleteLoading extends QuotationRecordState {
  String quotationRecordId;
  QuotationRecordDeleteLoading({required this.quotationRecordId});
  @override
  List<Object> get props => [quotationRecordId];
}


final class QuotationRecordDeleteSuccessState extends QuotationRecordState {
  String quotationRecordId;
  QuotationRecordDeleteSuccessState({required this.quotationRecordId});
  @override
  List<Object> get props => [quotationRecordId];
}

final class QuotationRecordDeleteFailureState extends QuotationRecordState {
  String message;
  String quotationRecordId;

  QuotationRecordDeleteFailureState({required this.message, required this.quotationRecordId});

  @override
  List<Object> get props => [ message,quotationRecordId];
}


final class QuotationRecordSaveLoading extends QuotationRecordState {
  QuotationRecordSaveLoading();
  @override
  List<Object> get props => [];
}

final class QuotationRecordSaveSuccessState extends QuotationRecordState {
  final List<QuotationRecordBean> quotationRecordData;

  QuotationRecordSaveSuccessState({required this.quotationRecordData});
  @override
  List<Object> get props => [quotationRecordData];
}